package org.celery.modules.ticket.service;

import org.celery.modules.ticket.entity.CustomTicket;
import org.celery.modules.ticket.excel.CustomTicketExcel;
import org.celery.modules.ticket.vo.CustomTicketVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.secure.BladeUser;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * 订单登记表 服务类
 *
 * @author Celery
 * @since 2023-09-23
 */
public interface ICustomTicketService extends BaseService<CustomTicket> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param customTicket
	 * @return
	 */
	IPage<CustomTicketVO> selectCustomTicketPage(IPage<CustomTicketVO> page, CustomTicketVO customTicket);

	List<Map<String, Object>> staticsList(String shopName, LocalDateTime startTime, LocalDateTime endTime, String tenantId, BladeUser user);

    void importData(List<CustomTicketExcel> list);
}
